aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snaps...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-07-07 18:01:28 +0100
committerMichael Williamson <mike@zwobble.org>2023-07-07 18:01:28 +0100
commit69ce0b822262c9ea5ae9cc4e89be0fa4498eaf25 (patch)
treefacd2ed40e3f4a001eee045bc809d57121b33b81 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parentdf888d6cce6a31e55eac4e21ccd496ce6023dfeb (diff)
Add int-ne instruction
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected10
1 files changed, 10 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..6221bd31
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenIntNotEqualTests]/[method:intNotEqualIsCompiledToComparison(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,10 @@
+Stack:
+ * %tmp__1
+ * %a
+
+Module:
+define void @f() {
+ %tmp__0 = icmp ne i64 %b, %c
+ %tmp__1 = zext i1 %tmp__0 to i64
+ ret void
+}